<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <meta http-equiv=”content-type” content=”text/html; charset=UTF-8″ />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">

    <title>Preclinic - Medical & Hospital - Bootstrap 4 Admin Template</title>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="static/assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/fullcalendar.min.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/dataTables.bootstrap4.min.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/select2.min.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/style.css">
    <link rel="stylesheet" type="text/css" href="static/assets/css/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="static/my_resources/css/operation-apply.css">
    <script src="../static/my_resources/js/jquery-1.11.3.min.js"></script>
    <script src="../static/my_resources/js/operation-apply.js"></script>

    <!--[if lt IE 9]>
    <script src="static/assets/js/html5shiv.min.js"></script>
    <script src="static/assets/js/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<div class="main-wrapper">
    <div class="header">
        <div class="header-left">
            <a href="index.html" class="logo">
                <img src="static/assets/img/logo.png" width="35" height="35" alt=""> <span>Preclinic</span>
            </a>
        </div>
        <a id="toggle_btn" href="javascript:void(0);"><i class="fa fa-bars"></i></a>
        <a id="mobile_btn" class="mobile_btn float-left" href="#sidebar"><i class="fa fa-bars"></i></a>
        <ul class="nav user-menu float-right">
            <li class="nav-item dropdown d-none d-sm-block">
                <a href="#" class="dropdown-toggle nav-link" data-toggle="dropdown"><i class="fa fa-bell-o"></i> <span
                        class="badge badge-pill bg-danger float-right">3</span></a>
                <div class="dropdown-menu notifications">
                    <div class="topnav-dropdown-header">
                        <span>Notifications</span>
                    </div>
                    <div class="drop-scroll">
                        <ul class="notification-list">
                            <li class="notification-message">
                                <a href="activities.html">
                                    <div class="media">
											<span class="avatar">
												<img alt="John Doe" src="static/assets/img/user.jpg" class="img-fluid">
											</span>
                                        <div class="media-body">
                                            <p class="noti-details"><span class="noti-title">John Doe</span> added new
                                                task <span class="noti-title">Patient appointment booking</span></p>
                                            <p class="noti-time"><span class="notification-time">4 mins ago</span></p>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="notification-message">
                                <a href="activities.html">
                                    <div class="media">
                                        <span class="avatar">V</span>
                                        <div class="media-body">
                                            <p class="noti-details"><span class="noti-title">Tarah Shropshire</span>
                                                changed the task name <span class="noti-title">Appointment booking with payment gateway</span>
                                            </p>
                                            <p class="noti-time"><span class="notification-time">6 mins ago</span></p>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="notification-message">
                                <a href="activities.html">
                                    <div class="media">
                                        <span class="avatar">L</span>
                                        <div class="media-body">
                                            <p class="noti-details"><span class="noti-title">Misty Tison</span> added
                                                <span class="noti-title">Domenic Houston</span> and <span
                                                        class="noti-title">Claire Mapes</span> to project <span
                                                        class="noti-title">Doctor available module</span></p>
                                            <p class="noti-time"><span class="notification-time">8 mins ago</span></p>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="notification-message">
                                <a href="activities.html">
                                    <div class="media">
                                        <span class="avatar">G</span>
                                        <div class="media-body">
                                            <p class="noti-details"><span class="noti-title">Rolland Webber</span>
                                                completed task <span class="noti-title">Patient and Doctor video conferencing</span>
                                            </p>
                                            <p class="noti-time"><span class="notification-time">12 mins ago</span></p>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="notification-message">
                                <a href="activities.html">
                                    <div class="media">
                                        <span class="avatar">V</span>
                                        <div class="media-body">
                                            <p class="noti-details"><span class="noti-title">Bernardo Galaviz</span>
                                                added new task <span class="noti-title">Private chat module</span></p>
                                            <p class="noti-time"><span class="notification-time">2 days ago</span></p>
                                        </div>
                                    </div>
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="topnav-dropdown-footer">
                        <a href="activities.html">View all Notifications</a>
                    </div>
                </div>
            </li>
            <li class="nav-item dropdown d-none d-sm-block">
                <a href="javascript:void(0);" id="open_msg_box" class="hasnotifications nav-link"><i
                        class="fa fa-comment-o"></i> <span class="badge badge-pill bg-danger float-right">8</span></a>
            </li>
            <li class="nav-item dropdown has-arrow">
                <a href="#" class="dropdown-toggle nav-link user-link" data-toggle="dropdown">
                        <span class="user-img">
							<img class="rounded-circle" src="static/assets/img/user.jpg" width="24" alt="Admin">
							<span class="status online"></span>
						</span>
                    <span>Admin</span>
                </a>
                <div class="dropdown-menu">
                    <a class="dropdown-item" href="#">修改个人信息</a>
                    <a class="dropdown-item" href="loginout">退出</a>
                </div>
            </li>
        </ul>
        <div class="dropdown mobile-user-menu float-right">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><i
                    class="fa fa-ellipsis-v"></i></a>
            <div class="dropdown-menu dropdown-menu-right">
                <a class="dropdown-item" href="profile.html">My Profile</a>
                <a class="dropdown-item" href="edit-profile.html">Edit Profile</a>
                <a class="dropdown-item" href="settings.html">Settings</a>
                <a class="dropdown-item" href="login.html">Logout</a>
            </div>
        </div>
    </div>
    <div class="sidebar" id="sidebar">
        <div class="sidebar-inner slimscroll">
            <div id="sidebar-menu" class="sidebar-menu">
                <ul>
                    <li class="menu-title">导航</li>
                    <li>
                        <a href="/operation-section"><i class="fa fa-calendar-check-o"></i> <span>部门主页</span></a>
                    </li>
                    <li>
                        <a href="/operation-apply"><i class="fa fa-calendar-check-o"></i> <span>手术申请</span></a>
                    </li>
                    <li>
                        <a href="/operation-equipment"><i class="fa fa-calendar-check-o"></i> <span>耗材申请</span></a>
                    </li>
                    <li>
                        <a href="/operation-drug"><i class="fa fa-calendar-check-o"></i> <span>药品申请</span></a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="page-wrapper">
        <div class="content">
            <canvas id="bargraph"></canvas>
            <canvas id="linegraph"></canvas>
            <div id="topC" class="card-box do_hide" style="max-height: 80vh;">

                <form action="#">
                    <div class="row">
                        <div class="col-sm-6 col-md-3">
                            <div class="form-group form-focus">
                                <label class="focus-label" style="font-size:20px;color: black;font-weight: bold;">完善信息</label>
                            </div>
                        </div>
                    </div>
                </form>
                <form action="#">
                    <input type="hidden" name="operationId" value="0">
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">患者姓名</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" name="patientName"  value="傻子" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">手术类型</label>
                        <div class="col-md-10">
                            <select name="operationType" class="form-control">
                                <option value="0">-- 请选择手术类型 --</option>
                                <option>大型手术</option>
                                <option>中型手术</option>
                                <option>小型手术</option>
                                <option>微创手术</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">手术名称</label>
                        <div class="col-md-10">
                            <input type="text" name="operationName" class="form-control" placeholder="请填写手术名称">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">所属科室</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" name="sectionName" value="骨科" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">手术医生</label>
                        <div class="col-md-10">
                            <select name="docterId" class="form-control">
                                <option>-- 请选择主刀医生 --</option>
                                <option>大型手术</option>
                                <option>中型手术</option>
                                <option>小型手术</option>
                                <option>微创手术</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-md-2">手术日期</label>
                        <div class="col-md-10 cal-icon">
                            <input name="operationTime" class="form-control floating datetimepicker" type="text">
                        </div>
                    </div>


                    <div class="text-center">
                        <div id="msg" class="my_msg do_hide">
                            请完善信息
                        </div>
                        <button type="button" id="smt" class="btn btn-primary btn-lg">提交</button>
                        <button type="button" id="exit" class="btn btn-secondary btn-lg">退出</button>
                    </div>
                </form>
            </div>

            <div id="topD" class="card-box do_hide" style="height:85vh;max-height: 100vh;">
<!--                <form action="#">-->
<!--                    <div class="row">-->
<!--                        <div class="col-sm-6 col-md-3">-->
<!--                            <div class="form-group form-focus">-->
<!--                                <label class="focus-label" style="font-size:20px;color: black;font-weight: bold;">就诊信息</label>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </form>-->
                <form action="#">

                        <div class="row">
                            <div class="col-md-6">
                                <h4 class="card-title">个人信息</h4>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>患者姓名</label>
                                            <input type="text" name="detailPatientName" class="form-control" value="傻子" readonly="readonly">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>患者性别</label>
                                            <input type="text" name="detailPatientSex" class="form-control" value="人妖" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>职业</label>
                                            <input type="text" name="detailPatientOccu" class="form-control" value="攻城狮" readonly="readonly">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>个人联系电话</label>
                                            <input type="text" name="detailPatientTel" class="form-control" value="13888888888" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>意外联系人</label>
                                            <input type="text" name="detailPatientRelatives" class="form-control" value="大人妖" readonly="readonly">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label>意外联系电话</label>
                                            <input type="text" name="detailPatientRelativesTel" class="form-control" value="13814381438" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="form-group">
                                            <label>初次到院时间</label>
                                            <input type="text" name="detailRegisterTime" class="form-control" value="2019/12/30" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="form-group">
                                            <label>历史诊断信息</label>
                                            <div class="col-sm-12">
                                                <table class="table table-hover  " id="DataTables_Table_0" role="grid" aria-describedby="DataTables_Table_0_info">
                                                <thead>
                                                <tr role="row">
                                                    <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Patient: activate to sort column ascending" style="width: 281px;">就诊科室</th>
                                                    <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Payment Type: activate to sort column ascending" style="width: 339px;">接诊医生</th>
                                                    <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Paid Amount: activate to sort column ascending" style="width: 313px;">就诊时间</th>
                                                </tr>
                                                </thead>
                                                <tbody id="historyRecord">

                                                </tbody>
                                            </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <h4 class="card-title">本次就诊信息</h4>
                                <div class="form-group">
                                    <label>就诊科室</label>
                                    <input type="text" name="detailSectionName" class="form-control" value="妇科" readonly="readonly">
                                </div>
                                <div class="form-group">
                                    <label>接诊医生</label>
                                    <input type="text" name="detailDocterName" class="form-control" value="马冬梅" readonly="readonly">
                                </div>
                                <div class="form-group">
                                    <label>患者症状</label>
                                    <textarea rows="2" cols="5" name="detailMedicalSymptom" class="form-control" readonly="readonly">内个疼</textarea>
                                </div>
                                <div class="form-group">
                                    <label>诊断结果</label>
                                    <textarea rows="2" cols="5" name="detailMedicalResult" class="form-control" readonly="readonly">内个长得多余</textarea>
                                </div>
                                <div class="form-group">
                                    <label>医生建议</label>
                                    <textarea rows="2" cols="5" name="detailMedicalOpinions" class="form-control" readonly="readonly">建议手术切除</textarea>
                                </div>
                            </div>

                        </div>
                        <div class="text-right">
                            <button id="detailExit" type="submit" class="btn btn-primary">退出</button>
                        </div>

                </form>

            </div>

            <div id="topA" class="row">
                <div class="col-md-12">
                    <div class="card-box">
                        <form action="#">
                            <div class="row">
                                <div class="col-sm-6 col-md-3">
                                    <div class="form-group form-focus">
                                        <label class="focus-label">就诊信息ID</label>
                                        <input id="patientId" type="text" class="form-control floating">
                                    </div>
                                </div>
                            </div>
                            <div class="text-left">
                                <button type="button" class="btn btn-primary" id="queryBtn">查询</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <!--            这是查询出来的表格-->
            <div class="row" id="topB">
                <div class="col-md-12">
                    <div class="table-responsive">
                        <table class="table table-striped custom-table mb-0 datatable">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>患者姓名</th>
                                <th>手术类型</th>
                                <th>手术名称</th>
                                <th>所属科室</th>
                                <th>主刀医生</th>
                                <th>手术时间</th>
                                <th>是否缴费</th>
                                <th>是否处理</th>
                                <th>是否手术</th>
                                <th class="text-right">操作</th>

                            </tr>
                            </thead>
                            <tbody id="apply_content">

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="notification-box">
            <div class="msg-sidebar notifications msg-noti">
                <div class="topnav-dropdown-header">
                    <span>Messages</span>
                </div>
                <div class="drop-scroll msg-list-scroll" id="msg_list">
                    <ul class="list-box">
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">R</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Richard Miles </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item new-message">
                                    <div class="list-left">
                                        <span class="avatar">J</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">John Doe</span>
                                        <span class="message-time">1 Aug</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">T</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Tarah Shropshire </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">M</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Mike Litorus</span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">C</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Catherine Manseau </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">D</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Domenic Houston </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">B</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Buster Wigton </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">R</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Rolland Webber </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">C</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author"> Claire Mapes </span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">M</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Melita Faucher</span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">J</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Jeffery Lalor</span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">L</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Loren Gatlin</span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="chat.html">
                                <div class="list-item">
                                    <div class="list-left">
                                        <span class="avatar">T</span>
                                    </div>
                                    <div class="list-body">
                                        <span class="message-author">Tarah Shropshire</span>
                                        <span class="message-time">12:28 AM</span>
                                        <div class="clearfix"></div>
                                        <span class="message-content">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="topnav-dropdown-footer">
                    <a href="chat.html">See all messages</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="sidebar-overlay" data-reff=""></div>
<script src="static/assets/js/jquery-3.2.1.min.js"></script>
<script src="static/assets/js/popper.min.js"></script>
<script src="static/assets/js/bootstrap.min.js"></script>
<script src="static/assets/js/jquery.slimscroll.js"></script>
<script src="static/assets/js/select2.min.js"></script>
<script src="static/assets/js/app.js"></script>
<script src="static/assets/js/jquery.dataTables.min.js"></script>
<script src="static/assets/js/jquery.slimscroll.js"></script>
<script src="static/assets/js/dataTables.bootstrap4.min.js"></script>
<script src="static/assets/js/jquery.dataTables.min.js"></script>
<script src="static/assets/js/dataTables.bootstrap4.min.js"></script>
<script src="static/assets/js/jquery.slimscroll.js"></script>
<script src="static/assets/js/moment.min.js"></script>
<script src="static/assets/js/bootstrap-datetimepicker.min.js"></script>
<script>
    //隐藏那两个柱状图
    $("canvas").hide();



</script>
</body>

</html>